package com.randomrpg.game

object Test {

  def main(args: Array[String]): Unit = {
    var warrior = new Player(new Warrior, "w")
    var cleric = new Player(new Cleric, "c")
    var rogue = new Player(new Rogue, "r")
    var mage = new Player(new Mage, "m")
    
    for(i <- 1 until 20) {
      warrior.exp = i * i * 151
      cleric.exp = i * i * 151
      rogue.exp = i * i * 151
      mage.exp = i * i * 151
      warrior.checkLevelUp
      cleric.checkLevelUp
      rogue.checkLevelUp
      mage.checkLevelUp
    }
    
    println(warrior)
    println(cleric)
    println(rogue)
    println(mage)
  }
}